package com.epfly.promo.activity.impl.discount;


import java.util.function.Function;

/**
 * 标记接口，用于标记优惠函数
 */
public interface ActivityDiscountFunction extends Function<ActivityWrapper, DiscountFun> {

    /**
     * 优惠活动的折扣类型
     */
    Byte getDiscountType();

    @Override
    DiscountFun apply(ActivityWrapper activityWrapper);
}
